package com.chb.singleton.doublecheck;

/**
 * @author chihb
 * @create-time 2024/10/23 15:33
 * @description
 */
public class Test {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            new Thread(() -> {
                Singleton singleton = Singleton.getInstance();
                System.out.println(singleton);
            }).start();
        }
    }
}
